export class StringUtils {

  static checkStatus(result: Result): boolean {
    if (null == result)
      return false;
    if (result.status == 'success')
      return true;
    if (result.status == 'error')
      return false;
    return true;
  }

}
